package cn.dnui_xcz826.dnuifood_16110100826.listener;

import java.util.List;

/**
 * Created by neusoft on 2018/10/15.
 */

public interface onRetrofitListener<T> {
    void onSuccess(T object, int flag);
    void onFailure(String msg);
//用于处理retrofit操作返回的结果
// model类中引入listener参数，并把处理结果交给onretrofitlistener
}
